﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

//玩家数据
public class Player:BaseManager<Player>
{
    public int ThisID;
    public List<RoleServer> AllRole = new List<RoleServer>();
    public RoleServer CurRole;
    public Player()
    {
        AllRole.Add(new RoleServer() { Name = RoleTable.GetInstance()[0].Name, ModelID = RoleTable.GetInstance()[0].ID });
        AllRole.Add(new RoleServer() { Name = RoleTable.GetInstance()[1].Name, ModelID = RoleTable.GetInstance()[1].ID });
        AllRole.Add(new RoleServer() { Name = RoleTable.GetInstance()[2].Name, ModelID = RoleTable.GetInstance()[2].ID});
        AllRole.Add(new RoleServer() { Name = RoleTable.GetInstance()[3].Name, ModelID = RoleTable.GetInstance()[3].ID });
    }
}
